package cn.com.chengmandian.bike;

import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.oas.annotations.EnableOpenApi;

@EnableOpenApi // swagger3
@SpringBootApplication
@EnableEncryptableProperties
@EnableEurekaClient
@EnableAsync
@EnableFeignClients(basePackages = "cn.com.chengmandian.*")
@ComponentScan("cn.com.chengmandian.*")
public class BikeUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(BikeUserApplication.class, args);
    }
}
